<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Animation Text Light</title>
  <style>
    body {
      font-family: 'Commissioner', sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      margin: 0;
      background-color: #000;
    }
    @property --rotate {
      syntax: "<angle>";
      initial-value: 0deg;
      inherits: false;
    }
    .light {
      background-image: conic-gradient(from var(--rotate) at 29% 10%, #21c3f3 40%, #f4f7fc55, #0b1012 100%);
      font-size: 120px;
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      animation: rotateLight 3s ease-in-out infinite alternate;
    }

    @keyframes rotateLight {
      from {
        --rotate: 0.15turn;
      }

      to {
        --rotate: -0.15turn;
      }
    }
  </style>
</head>

<body>
  <div class="light">
    小鹿吖~
  </div>
</body>

</html>